All Series
All Series
This script returns all the Series structs.
Note: This will eventually be long.
Returns: [Golazos.SeriesData]
- A list of the Golazos Series Data.
import Golazos from 0xGOLAZOSADDRESS
pub fun main(): [Golazos.SeriesData] {
let series: [Golazos.SeriesData] = []
var id: UInt64 = 1
// Note < , as nextSeriesID has not yet been used
while id < Golazos.nextSeriesID {
series.append(Golazos.getSeriesData(id: id))
id = id + 1
}
return series
}